<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>PokemonMS β</title>
<jsp:include page="/WEB-INF/view/common/head_meta.jsp"></jsp:include>
<link rel="stylesheet" type="text/css" href="${f:url('/css/flexigrid/flexigrid.css')}"/>
<script type="text/javascript" src="${f:url('/js/jquery-1.4.2.min.js')}"></script>
<script type="text/javascript" src="${f:url('/js/flexigrid.js')}"></script>
<script type="text/javascript">
<!--
$(function(){
	$('#convention').flexigrid(
	{
	colModel : [
			{display: '大会名', name : 'conventionName', width : 200, sortable : true, align: 'left'},
			{display: '主催者名', name : 'memberName', width : 120, sortable : true, align: 'left'},
			{display: '開催日時', name : 'conventionDate', width : 100, sortable : true, align: 'left'},
			{display: 'ハッシュタグ', name : 'hashTag', width : 120, sortable : false, align: 'left'},
			{display: '登録日時', name : 'entryDate', width : 100, sortable : false, align: 'left'}
			],
	height: 'auto',
	width: 'auto'
	}
	);
});
// -->
</script>
</head>
<body>
<jsp:include page="../common/header.jsp"/>

<div class="left_block">
	<jsp:include page="../common/twitter.jsp">
		<jsp:param name="title" value="ポケモン管理システム"/>
		<jsp:param name="search" value="pokemonms"/>
		<jsp:param name="hashTag" value="PokemonMS"/>
	</jsp:include>
</div>

<div class="center_block">
	<table id="convention">
	<c:forEach var="e" varStatus="s" items="${conventions}">
		<tr>
			<td><s:link href="${e.conventionId}">${f:h(e.conventionName)}</s:link></td>
			<td><a href="http://twitter.com/${e.member.twitterScreenName}" target="_blank"><img src="${e.member.twitterProfileImageUrl}" width="16" height="16"/> ${f:h(e.member.twitterName)}</a></td>
			<td><fmt:formatDate value="${e.conventionDate}" pattern="yyyy-MM-dd HH:mm"/></td>
			<td><a href="http://twitter.com/search?q=%23${e.hashTag}" target="_blank">#${f:h(e.hashTag)}</a></td>
			<td><fmt:formatDate value="${e.entryDate}" pattern="yyyy-MM-dd HH:mm"/></td>
		</tr>
	</c:forEach>
	</table>
</div>
<div class="bottom_block">
	<jsp:include page="../common/footer.jsp"/>
</div>
</body>
</html>